-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#15889: Fix handling of mantissa rounding to respect ties round to even #16997
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TT-BrianLiu
requested review from
abhullar-tt,
pgkeller,
aliuTT,
tt-aho,
tt-dma,
tt-asaigal and
ubcheema
as code owners
January 22, 2025 22:57
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 22, 2025 23:00
ad64313
to
842747f
Compare
ayerofieiev-tt
approved these changes
Jan 22, 2025
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 23, 2025 18:43
842747f
to
6828830
Compare
TT-BrianLiu
requested review from
dmakoviichuk-tt,
rfurko-tt,
cfjchu,
razorback3,
dongjin-na and
bbradelTT
as code owners
January 23, 2025 18:43
bbradelTT
approved these changes
Jan 23, 2025
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 24, 2025 22:37
6828830
to
61b4719
Compare
TT-BrianLiu
requested review from
patrickroberts,
yan-zaretskiy and
eyonland
as code owners
January 24, 2025 22:37
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 27, 2025 20:52
61b4719
to
2227880
Compare
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 27, 2025 20:56
2227880
to
eafe09c
Compare
This was referenced Jan 28, 2025
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 28, 2025 19:03
eafe09c
to
5d8ca3a
Compare
TT-BrianLiu
requested review from
uaydonat,
djordje-tt and
johanna-rock-tt
as code owners
January 28, 2025 19:03
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 28, 2025 19:15
5d8ca3a
to
244d6ff
Compare
abhullar-tt
approved these changes
Jan 28, 2025
yan-zaretskiy
approved these changes
Jan 28, 2025
uaydonat
approved these changes
Jan 28, 2025
TT-BrianLiu
force-pushed
the
bliu/main2
branch
3 times, most recently
from
January 30, 2025 15:21
ffde881
to
ed50ad6
Compare
- Add tt_metal gtest to test convert_u32_to_bfp rounding logic for bfp8 - Remove unused functions in tt_metal/api/tt-metalium/bfloat8.hpp - Update impacted tests/models to reflect minor differences * Minor pcc adjustment in op tests * Skip typecast for bfp16 to bfp8 (issue 17237) * Update expected demo output for Falcon40B demo test ** This will break CI which uses cached bfp8 weights ** Model weights need to be re-generated and cached
TT-BrianLiu
force-pushed
the
bliu/main2
branch
from
January 30, 2025 17:39
ed50ad6
to
437c9b2
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Ticket
Link to Github Issue
Problem description
See issue for more context and examples. When we handle rounding of mantissa when going from float to block float, we always round to nearest (ties always round up), which doesn't folow the "ties round to even" rule. This PR fixes that and adds lower c++ tests to test the different cases.
What's changed
Checklist